/*
 * @Description: Description
 * @Autor: Chen
 * @Date: 2020-08-03 10:04:56
 * @LastEditors: snzo.chen
 * @LastEditTime: 2023-06-13 14:26:15
 */
import { NgModule, InjectionToken } from '@angular/core';

export const API_CONFIG_HOME = new InjectionToken('AppConfigToken');
export const API_CONFIG_ADMIN = new InjectionToken('AppConfigAdminToken');
export const API_CONFIG_MEAL = new InjectionToken('AppConfigMealToken');
export const API_CONFIG_UC = new InjectionToken('AppConfigUcToken');

@NgModule({
  declarations: [],
  imports: [],
  providers: [
    { provide: API_CONFIG_UC, useValue: 'https://uc.snzo.cn' },
    { provide: API_CONFIG_ADMIN, useValue: '/lianmeng' },
    { provide: API_CONFIG_HOME, useValue: 'https://www.cqesa.com' },
    // { provide: API_CONFIG_MEAL, useValue: 'https://duobao.snzo.cn' },
    // { provide: API_CONFIG_ADMIN, useValue: '/local' },
    // { provide: API_CONFIG_HOME, useValue: 'http://192.168.100.27:8080' },
  ],
})
export class ServicesModule {}
